{extend name="common/zoushi_index" /}
{block name="body"}
	<style type="text/css">
		.zs_header{
			height: 100%;
			border-right:1px solid #cdcdcd;
			font-size: 14px;
			text-align: center;
			line-height: 30px;
			color: #9198ab;
		}
		.zs_header1{
			height: 100%;
			border-right:1px solid #cdcdcd;
			display: inline-block;
			font-size: 14px;
			text-align: center;
			line-height: 30px;
			color: #9198ab;
		}
	</style>

		
<div id="" style="padding-bottom: 0px;">
		<table style="width: 100%;margin-top: 44px;padding-bottom: 20px;">
		<thead>
			<tr>
			<th class="zs_header">期数</th>
			<th class="zs_header">开奖号码</th>
			{volist name="zoushi.type" id="vo" key="key"}
			<th class="zs_header"{if condition="!is_numeric($key)"}colspan="{:intval($key)}" {/if}{if condition="count($zoushi.type) == $key"} style="border-right: none;"{/if}>{$vo}</th>
			{/volist}
			</tr>
		</thead>
			
		<tbody>
		{volist name="zoushi.data" id="item"}
		<tr style="height: 30px;border-top: 1px solid #cdcdcd;">
			<td class="zs_header">{$item.qihao}期</td>
			<td class="zs_header">
			{volist name="item.kjjg" id="it"}
				{$it}
			{/volist}
			</td>
			{volist name="item.dat_type" id="val" key="key"}
			<td class="zs_header"{if condition="count($item.dat_type) == $key"} style="border-right: none;"{/if}>{$val}</td>
		{/volist}
		</tr>
		{/volist}
		
		</tbody>
	
	</table>
</div>
<script type="text/javascript">
	var trend_title = '基本走势';
</script>
{/block}
